cordova.define("easysw-plugin-bwtnative", function(require, exports, module) {
var exec = require('cordova/exec');
var bwtnative = {
    getUserInfo:function(successCallback, failureCallback){
        exec(successCallback,failureCallback, 'BWTNativePlugin', 'getUserInfo',[]);
    },

    toNativeRouter:function(successCallback, failureCallback, routerName, params){
        exec(successCallback,failureCallback, 'BWTNativePlugin', 'toNativeRouter',[routerName,params]);
    },

    toCashierIndex:function(successCallback, failureCallback, params){
        exec(successCallback,failureCallback, 'BWTNativePlugin', 'toCashierIndex',[params]);
    },
};
module.exports = bwtnative
});
